<template>
  <a-row type="flex" :gutter="16">
    <a-col :md="6" :sm="24">
      <GlrSideGateWayList  @getGateWayCode="getGateWayCode" :gateWayCode="gateWayCode" ></GlrSideGateWayList>
    </a-col>
    <a-col :md="24-6" :sm="24">
      <glr-side-light-current-list @getGateWayCode="getGateWayCode" :gateWayCode="gateWayCode"></glr-side-light-current-list>
    </a-col>
  </a-row>
</template>

<script>
  import GlrSideGateWayList from "./GlrSideGateWayList";
  import GlrSideLightCurrentList from "./GlrSideLightCurrentList";
  export default {
    name: 'GlrLightList',
    components: {GlrSideLightCurrentList, GlrSideGateWayList},
    data() {
      return {
        description: '通讯录页面',
        gateWayCode: ''
      }
    },
    methods: {
      getGateWayCode(gateWayCode){
        this.gateWayCode=gateWayCode;
      }
    }
  }
</script>
<style scoped>
  @import '~@assets/less/common.less';
</style>